﻿using SaiLing.Domain.Persistence.Relational;
using System;
using System.Collections.Generic;

namespace SaiLing.SingleSignOn.Domain.Entities.System
{
    public class Position : IEntity
    {
        /// <summary>
        /// 全称
        /// </summary>
        public string FullName { get; set; }
        /// <summary>
        /// 简写
        /// </summary>
        public string ShortName { get; set; }

        /// <summary>
        /// 是否是部门管理
        /// </summary>
        public bool IsManage { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        public Guid OrganizationId { get; set; }
        public virtual Organization Organization { get; set; }
        /// <summary>
        /// 权限
        /// </summary>
        //public List<PositionAuthority> PositionAuthorities { get; set; }
    }
}
